﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Eis51.CampanyCMS.Model.BaseInfoMng;
using Eis51.CampanyCMS.Business.BaseInfoMng;
using Eis51.CampanyCMS.Model;

namespace Eis51.Web.htm
{
    public partial class Contact : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                LoadData();
            }
        }

        private void LoadData()
        {
            Companyinfo model = CompanyinfoBLL.GetInstance().GetMyCompanyinfo(AppContext.LCID);
            if (model != null)
            {
                string htm = model.ContactUs.Trim();
                if (!string.Empty.Equals(htm))
                {
                    divContact.InnerHtml = htm;
                }
            }
        }



    }
}
